/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package raytracer;

import java.awt.Color;

/**
 *
 * @author ferco
 * Trida reprezentuje material objektu, jeho marvu a odrazivost
 */
public class Material {

    //deklarace promennzch
    private Color color;
    private Vector3D ambient;
    private Vector3D diffuse;
    private Vector3D specular;


    /**
     *Konstruktor s parametrem barvy
     *@param color barva materialu
     */
    public Material(Color color, Vector3D ambient, Vector3D diffuse, Vector3D specular){

        this.color = color;
        this.ambient = ambient;
        this.diffuse = diffuse;
        this.specular = specular;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public Vector3D getAmbient() {
        return ambient;
    }

    public void setAmbient(Vector3D ambient) {
        this.ambient = ambient;
    }

    public Vector3D getDiffuse() {
        return diffuse;
    }

    public void setDiffuse(Vector3D diffuse) {
        this.diffuse = diffuse;
    }

    public Vector3D getSpecular() {
        return specular;
    }

    public void setSpecular(Vector3D specular) {
        this.specular = specular;
    }

    

}
